package siyuan.run.feign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @program: sy
 * @description: 自定义负载均衡启动类
 * @author: Jacob
 * @create: 2020-11-24 19:58
 **/
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class FeignConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignConfigApplication.class,args);
    }

}
